<div id="menu">
<div id="left-menu" class="main-menu">
<ul>
	<?php echo $this->partialLoop('index/_menuItem.phtml', $this->menu) ?>
</ul>
</div>
<?php echo $this->loggedInUser(); ?>
</div>
<script type="text/javascript">
$(document).ready(function () { 
    
    $('.main-menu li').hover(
        function () {
            //show its submenu
            $('ul', this).stop().slideDown(100);
 
        }, 
        function () {
            //hide its submenu
            $('ul', this).stop().slideUp(100);          
        }
    );
});
</script>